package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 点餐加料表
 */
@Entity
public class corecmsfoodorderingfeed {
    /**
     * 序号
     */
    @Id
    private long id;

    /**
     * 订单id
     */
    private long orderId;

    /**
     * 购物车id
     */
    private long detailId;

    /**
     * 门店id
     */
    private int stockId;

    /**
     * 加料id
     */
    private long feedId;

    /**
     * 数量
     */
    private int quantity;

    /**
     * 单价
     */
    private double feedPrice;

    @Generated(hash = 380881301)
    public corecmsfoodorderingfeed(long id, long orderId, long detailId,
            int stockId, long feedId, int quantity, double feedPrice) {
        this.id = id;
        this.orderId = orderId;
        this.detailId = detailId;
        this.stockId = stockId;
        this.feedId = feedId;
        this.quantity = quantity;
        this.feedPrice = feedPrice;
    }

    @Generated(hash = 229387071)
    public corecmsfoodorderingfeed() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getDetailId() {
        return this.detailId;
    }

    public void setDetailId(long detailId) {
        this.detailId = detailId;
    }

    public int getStockId() {
        return this.stockId;
    }

    public void setStockId(int stockId) {
        this.stockId = stockId;
    }

    public long getFeedId() {
        return this.feedId;
    }

    public void setFeedId(long feedId) {
        this.feedId = feedId;
    }

    public int getQuantity() {
        return this.quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getFeedPrice() {
        return this.feedPrice;
    }

    public void setFeedPrice(double feedPrice) {
        this.feedPrice = feedPrice;
    }

}
